<template>
  <div
    style="
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
    "
    ><el-result icon="warning" :title="error.statusCode" sub-title="你找的页面走丢了~">
      <template #extra>
        <NuxtLink to="/"><el-button type="primary">返回首页</el-button></NuxtLink>
      </template>
    </el-result></div
  >
</template>
<script setup lang="ts">
const error: any = useError();
</script>
